package com.xxx.corejava.day1028;

public class Test3 {
    public static void main(String[] args) {

        for(int year=2000;year<=2500;year++) {
            if ((year % 400 == 0) || ((year % 4 == 0) && (year % 100 != 0))) {
                System.out.println(year);
            }
        }




    }
}
